package com.qunar.wan.common_api.model;

import java.io.Serializable;
import java.util.Date;

/**
 * User: hangyu.shen Date: 13-11-26 Time: 上午10:52
 */
public class AdminLog implements Serializable {
    private static final long serialVersionUID = 3501919116447890378L;
    private int id;
    private int userId;
    private String action;
    private Date actionTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public Date getActionTime() {
        return actionTime;
    }

    public void setActionTime(Date actionTime) {
        this.actionTime = actionTime;
    }

    public AdminLog() {
    }

    public AdminLog(int userId, String action, Date actionTime) {
        this.userId = userId;
        this.action = action;
        this.actionTime = actionTime;
    }

    @Override
    public String toString() {
        return "AdminLog{" + "id=" + id + ", userId='" + userId + '\'' + ", action='" + action + '\''
                + ", actionTime='" + actionTime + '}';
    }
}
